# -*- coding: utf-8 -*-
from odoo import http

# class Watermeters(http.Controller):
#     @http.route('/watermeters/watermeters/', auth='public')
#     def index(self, **kw):
#         return "Hello, world"

#     @http.route('/watermeters/watermeters/objects/', auth='public')
#     def list(self, **kw):
#         return http.request.render('watermeters.listing', {
#             'root': '/watermeters/watermeters',
#             'objects': http.request.env['watermeters.watermeters'].search([]),
#         })

#     @http.route('/watermeters/watermeters/objects/<model("watermeters.watermeters"):obj>/', auth='public')
#     def object(self, obj, **kw):
#         return http.request.render('watermeters.object', {
#             'object': obj
#         })
